# Example HSPICE deck for simulating DPSTT cell
.include "./NRL_DPSTT_LIBS_ENC.inc"

v1 e1 0 0
v2 e2 0 0
v3 e3 0 0.5

V_HAX hax 0 '0.0'
V_HAY hay 0 '0.0'
V_HAZ haz 0 '0.0'

Xdpstt1 e1 e2 e3 hax hay haz PMA_DPSTT
+ P_L1='0.4' P_R1='0.4' Lambda_L1='2.0' Lambda_R1='2.0' eps_prime1='0.0'
+ P_L2='0.4' P_R2='0.4' Lambda_L2='2.0' Lambda_R2='2.0' eps_prime2='0.0'
+ W1='10.0n' L1='10n' Tm1='1.1n' TMgO1='1.15'
+ th_hard1='0' phi_hard1='0' mu_r_LLG1='1'
+ W2='27.5n' L2='10n' Tm2='1.1n' TMgO2='1.15'
+ th_hard2='0' phi_hard2='0' mu_r_LLG2='1'
+ alpha='0.007' Ku2='1e5' Ms='1100' mu_r_therm='1.0'
+ LLG_Temp='0.0' thermScale='0.0'

.op

.end
